﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="Index"
    MasterPageFile="~/Site.master" %>

<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<asp:Content ID="head" ContentPlaceHolderID="HeadContent" runat="Server">
    <link href="Css/common.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="Spacer" style="height: 14px;">
    </div>
    <div class="searchtitle">
        <span>今日气象</span><img alt="" src="images/icon/weather.png" />
    </div>
    <div class="navline" style="margin-bottom: 5px; margin-top: 5px;">
    </div>
    <iframe frameborder="0" height="134" hspace="0" marginheight="0" marginwidth="0"
        scrolling="no" src="http://m.weather.com.cn/m/p5/weather1.htm?id=101210101T"
        vspace="0" width="95%"></iframe>
    <div class="Spacer" style="height: 14px;">
    </div>
    <div class="searchtitle">
        <span>其他信息</span><img alt="" src="Images/icon/weather.png" />
    </div>
    <div class="navline" style="margin-bottom: 5px; margin-top: 5px;">
    </div>
    <dx:ASPxButton ID="btnUpM" runat="server" Text="密码修改">
        <ClientSideEvents Click="function(s, e) { pcLogin.Show(); }" />
    </dx:ASPxButton>
    <dx:ASPxPopupControl ID="pcLogin" runat="server" CloseAction="CloseButton" Modal="True"
        Width="260px" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
        ClientInstanceName="pcLogin" HeaderText="密码修改" AllowDragging="True" EnableAnimation="False"
        EnableViewState="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
        CssPostfix="Office2010Blue" EnableHotTrack="False" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
        <ClientSideEvents PopUp="function(s, e) { c_tbPassword.Focus(); }" />
        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
        </LoadingPanelImage>
        <LoadingPanelStyle ImageSpacing="5px">
        </LoadingPanelStyle>
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                <dx:ASPxPanel ID="Panel1" runat="server" DefaultButton="btOK">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td rowspan="5">
                                        <div class="pcmSideSpacer">
                                        </div>
                                    </td>
                                    <td class="pcmCellCaption" valign="top">
                                        <dx:ASPxLabel ID="lblPassword" runat="server" Text="旧密码:" AssociatedControlID="tbPassword">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="pcmCellText">
                                        <dx:ASPxTextBox ID="tbPassword" runat="server" Width="150px" Password="True" ClientInstanceName="c_tbPassword"
                                            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                    <td rowspan="5">
                                        <div class="pcmSideSpacer">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="pcmCellCaption" valign="top">
                                        <dx:ASPxLabel ID="lblPass1" runat="server" Text="新密码:" AssociatedControlID="tbPassword1">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="pcmCellText">
                                        <dx:ASPxTextBox ID="tbPassword1" runat="server" Width="150px" Password="True" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                            CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="pcmCellCaption" valign="top">
                                        <dx:ASPxLabel ID="lblPass2" runat="server" Text="确认密码:" AssociatedControlID="tbPassword2">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td class="pcmCellText">
                                        <dx:ASPxTextBox ID="tbPassword2" runat="server" Width="150px" Password="True" CssFilePath="~/App_Themes/DevEx/{0}/styles.css"
                                            CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <div class="pcmButton">
                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td align="right">
                                                        <dx:ASPxButton ID="btOK" runat="server" Text="确定" Width="80px" AutoPostBack="False"
                                                            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css"
                                                            OnClick="btOK_Click">
                                                            <ClientSideEvents Init="function(s, e) {if(c_tbPassword.GetText()!='') pcLogin.Hide(); }" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>
                                                        <div style="width: 8px;">
                                                        </div>
                                                    </td>
                                                    <td align="left">
                                                        <dx:ASPxButton ID="btCancel" runat="server" Text="取消" Width="80px" AutoPostBack="False"
                                                            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css">
                                                            <ClientSideEvents Click="function(s, e) { pcLogin.Hide(); }" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </dx:PopupControlContentControl>
        </ContentCollection>
    </dx:ASPxPopupControl>
</asp:Content>
